fix(sitemap): ensure sitemap excludes pages with frontmatter sitemap β¦#3316
fix(sitemap): ensure sitemap excludes pages with frontmatter sitemap β¦#3316srgg wants to merge 1 commit into
Conversation
β Deploy Preview for academic-demo canceled.
|
|
Wow, your first PR! Welcome to the community! π Thank you for this contribution to open source and open research. It makes a huge impact for the thousands of innovators building with Hugo Blox. If you're wondering about next steps, please read our Contributor Guide for coding standards, how to run the project locally, and how to get help. We hope this is just the start of your journey with us. Let's build the future together! Join us on Discord to connect with the team and community. Awesome work, we'll take a look soon! β¨ |
|
Thanks for the PRs and for identifying that private pages can leak into the RSS feed - that's a real gap we'll fix. However, HugoBlox uses its own We'll fix the RSS feed to respect private (which was missing). Supporting Hugo's suggested |
π What type of change is this?
π― What is the purpose of this change?
The sitemap currently includes pages that are explicitly disabled via frontmatter (e.g.
sitemap.disable = true).This behavior is unexpected, as pages marked for exclusion from the sitemap should not appear in the generated
sitemap.xml.The purpose of this change is to update the Hugo Blox sitemap layout so that it correctly respects the
sitemap.disablefrontmatter flag and excludes those pages from the sitemap.πΈ Screenshots or Screencast (if applicable)
Not applicable.
Example frontmatter:
βΉοΈ Documentation Check
π Contributor Agreement
Thank you for your contribution!